<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<!-- <meta http-equiv="X-UA-Compatible" content="IE=edge"> -->
	<title>我的生活</title>
	<meta name="viewport" content="initial-scale=1, maximum-scale=1">	
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link rel="stylesheet" href="../../css/sm.min.css">
	<link rel="stylesheet" href="../../css/sm-extend.min.css">
	<link rel="stylesheet" href="../../css/style.css?v=2">
</head>
<body>
	<div class="page-group">
	    <div class="page page1 page-current" id='router'>
	    	<div class="logo"></div>
	    	<div class="form">
	    		<div class="input-items">
		    		<div class="input-item">
		    			<input type="text" placeholder="账号" id="user" value="13030885155">
		    		</div>
		    		<div class="input-item">
		    			<input type="password" placeholder="密码" id="psw" value="123456">
		    		</div>
	    		</div>
	    		<div class="sumit-btn" id="loginBtn">登陆</div>
	    		<div class="btns">
	    			<a href="#router3">忘记密码？</a>
	    			<a href="#router2">注册</a>
	    		</div>
	    	</div>
	    </div>
	    <!-- 注册页面 -->
	    <div class="page page2" id='router2'>
	    	<header class="bar bar-nav">
			  	<a class="icon icon-left pull-left icon-color back" href="#router"></a>
			  	<h1 class="title">手机注册</h1>
			</header>
			<div class="content">
				<div class="content-auto">
					<div class="boxs">
						<div class="boxs-input">
							<input type="text"  placeholder="请输入手机号" class="tels" id="tel" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" size="14" name="amount" type="text">
							<em id="clearAll" class="clear-all"></em>
						</div>
						<div class="boxs-input">
							<input type="text"  placeholder="请输入验证码" id="yzm">
							<span id="yzmBtn" class="yzm-btn sel">获取验证码</span>
						</div>
						<div class="boxs-input">
							<input type="password"  placeholder="请设置登陆密码，不少于6位" id="loginPwd">
							<em id="showPwd"></em>
						</div>
					</div>
					<div class="sumit-btn" id="submit">注册</div>
					<p class="ps">点击完成便是你已阅读并同意《用户协议》</p>
				</div>
			</div>
	    </div>
	    <!-- 忘记页面 -->
	    <div class="page page3" id='router3'>
	    	<header class="bar bar-nav">
			  	<a class="icon icon-left pull-left icon-color back"  href="#router"></a>
			  	<h1 class="title">修改密码</h1>
			</header>
			<div class="content">
				<div class="content-auto">
					<div class="boxs">
						<div class="boxs-input">
							<input type="text" placeholder="请输入手机号" class="tels" id="tel1" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" size="14" name="amount" type="text">
							<em class="clear-all"></em>
						</div>
						<div class="boxs-input">
							<input type="text" placeholder="请输入验证码" id="yzm1">
							<span class="yzm-btn sel">获取验证码</span>
						</div>
						<div class="boxs-input">
							<input type="password"  placeholder="请输入新密码，不少于6位" id="loginPwd1">
							<em></em>
						</div>
					</div>
					<div class="sumit-btn" id="modify">确认修改</div>
					<p class="ps">点击完成便是你已阅读并同意《用户协议》</p>
				</div>
			</div>
	    </div>
	</div>
	<script type='text/javascript' src='../../js/zepto.min.js' charset='utf-8'></script>
	<script type='text/javascript' src='../../js/sm.min.js' charset='utf-8'></script>
	<script type='text/javascript' src='../../js/sm-extend.min.js' charset='utf-8'></script>
	<script type="text/javascript" src='../../js/base64.js'></script>
	<script type="text/javascript" src='../../js/md5.js'></script>
	<script type="text/javascript" src='../../js/jsencrypt.js'></script>
	<script type="text/javascript" src='../../js/base64-2.js'></script>
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=Y75nQRftejAP1Bni2WkQ2C1eKvKXNrKc"></script>
	<script type='text/javascript' src='../../js/doT.min.js' charset='utf-8'></script>
	<!-- 主题列表 -->
	<script id="list_tpl1" type="text/x-dot-template">
	   	{{if(it.length == 0) { }}
			<div class="data-tip">暂无数据……</div>
	   	{{ } else { }}
		    {{~it:val:key}}
				<dl>
		      		<dt><a id="{{=val.id}}">
		      			{{if(val.imagedata1 == null || val.imagedata1 == undefined){ }}
		      				<img src="../../img/img1.jpg" alt="">
		      			{{ } else { }}
			      			{{if(val.imagetype1 == 0) { }}
			      				<img src="data:image/BMP;base64,{{=val.imagedata1}}" alt="">
			      			{{ } else if(val.imagetype1 == 1) { }}
			      				<img src="data:image/jpg;base64,{{=val.imagedata1}}" alt="">
			      			{{ } else if(val.imagetype1 == 2) { }}
			      				<img src="data:image/png;base64,{{=val.imagedata1}}" alt="">
			      			{{ } }}
		      			{{ } }}
		      		</a></dt>
		      		<dd>
		      			<h3><span>{{=val.housename}}</span><em>￥{{=val.price || "暂无定价"}}</em></h3>
		      			<p>{{=val.description1 || "暂无描述"}}</p>
		      			<div class="clearfix">
		      				<span>
		      					{{if(val.isCollected == 1) { }}
		      					<strong class="sel">{{=val.collectorcount || "0"}}</strong>
		      					{{ } else { }}
		      					<strong topicId="{{=val.id}}" class="collection">{{=val.collectorcount || "0"}}</strong>
		      					{{ } }}
		      					<em>{{=val.viewercount || "0"}}</em>
		      				</span>
		      				<span>VR 观看</span>
		      			</div>
		      		</dd>
		      	</dl>
		    {{~}}
	   	{{ } }}
	</script>
	<!-- 城市列表 -->
	<script id="list_tpl2" type="text/x-dot-template">
	    {{~it:val:key}}
			<div class="list-group" id="{{=val.type1}}1">
		      	<ul>
			        <li class="list-group-title">{{=val.type1}}</li>
			        {{for(var i = 0; i < val.lists.length; i++ ){ }}
			        <li>
			          	<div class="item-content" city-name="{{=val.lists[i]}}">
				            <div class="item-inner">
				              	<div class="item-title">{{=val.lists[i]}}</div>
				            </div>
			          	</div>
			        </li>
			        {{ } }}
		      	</ul>
		    </div>
	    {{~}}
	</script>
	<!-- 城市浏览过的记录 -->
	<script id="list_tpl3" type="text/x-dot-template">
	    {{~it:val:key}}
			<div class="list-group" id="{{=val.type1}}1">
		      	<ul>
			        <li class="list-group-title">{{=val.type1}}</li>
			        {{for(var i = 0; i < val.lists.length; i++ ){ }}
			        <li>
			          	<div class="item-content" city-name="{{=val.lists[i]}}">
				            <div class="item-inner">
				              	<div class="item-title">{{=val.lists[i]}}</div>
				            </div>
			          	</div>
			        </li>
			        {{ } }}
		      	</ul>
		    </div>
	    {{~}}
	</script>
	<!-- 户型列表 -->
	<script id="list_tpl4" type="text/x-dot-template">
	    {{~it:val:key}}
			<div class="col-25">{{=val}}</div>
	    {{~}}
	</script>
	<!-- 获取主题 -->
	<script id="list_tpl5" type="text/x-dot-template">

		<dl>
      		<dd>
      			<h3><span>{{=it.housename}}</span><em>￥{{=it.price}}</em></h3>
      			<p>{{=it.description1}}</p>
      			<header><span>{{=it.houseStyle}}</span>适用面积：{{=it.suitesquare}}平方米</header>
      			<div class="clearfix">
      				<span>
      					<strong class="sel">{{=it.collectorcount || "0"}}</strong>
		      			<em>{{=it.viewercount || "0"}}</em>
      				</span>
      			</div>
      		</dd>
      	</dl>
	</script>
	<!-- 获取主题详情 -->
	<script id="list_tpl6" type="text/x-dot-template">
	    {{~it:val:key}}
			<div class="detail-item">
				{{if(val.zone == "客厅") { }}
					<h3 class="kt">{{=val.zone}}</h3>
				{{ } else if(val.zone == "餐厅") { }}
					<h3 class="ct">{{=val.zone}}</h3>
				{{ } else if(val.zone == "主卧") { }}
					<h3 class="zw">{{=val.zone}}</h3>
				{{ } else if(val.zone == "次卧") { }}
					<h3 class="cw">{{=val.zone}}</h3>
				{{ } }}
				<p>{{=val.zonename}}</p>
				<img src="data:image/BMP;base64,{{=val.descriptions[0].pic}}" class="big-p">
				<div class="lbt">
					<div class="lbtinner clearfix" style="width: {{=$('.data-tip').width()/3*val.descriptions.length}}px">
						{{ for(var i=0; i < val.descriptions.length; i++){ }}
						<div class="lbt-box">
							{{if(val.descriptions[i].pic == null || val.descriptions[i].pic == undefined){ }}
			      				<img src="../../img/img1.jpg" alt="">
			      			{{ } else { }}
				      			{{if(val.descriptions[i].imgType == 0) { }}
				      				<img src="data:image/BMP;base64,{{=val.descriptions[i].pic}}" alt="">
				      			{{ } else if(val.descriptions[i].imgType == 1) { }}
				      				<img src="data:image/jpg;base64,{{=val.descriptions[i].pic}}" alt="">
				      			{{ } else if(val.descriptions[i].imgType == 2) { }}
				      				<img src="data:image/png;base64,{{=val.descriptions[i].pic}}" alt="">
				      			{{ } }}
			      			{{ } }}
							<p>复古式</p>
							<div>￥1000</div>
						</div>
						{{ } }}
					</div>
				</div>
			</div>
	    {{~}}
	</script>
	<script type='text/javascript' src='../../js/index.js' charset='utf-8'></script>
</body>
</html>